;(function () {
    var params = {};
    if (document) {
        params.url = document.URL || '';
        params.referer = document.referrer || '';
    }
    if (window && window.screen) {
        var sh = window.screen.height || 0;
        var sw = window.screen.width || 0;
        params.resolution = sw + ' x ' + sh;
        params.colorDepth = window.screen.colorDepth || 0;
    }
    if (navigator) {
        params.language = navigator.language || '';
        params.siteId = global_siteId;
        params.columnName = columnName;
        params.siteName = siteName;
        params.title = title;
        try{params.isTimes = isTimes;}catch(e){}
        var ua = navigator.userAgent;
        var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod", "Windows", "Mac", "Unix", "Linux", "X11");
        var f = "Other";
        for (var v = 0; v < ua.length; v++) {
            if (ua.indexOf(Agents[v]) > -1) {
                f = Agents[v];
            }
        }
        var isPc = "true";
        if (f != "Windows" && f != "Mac" && f != "Unix" && f != "Linux") {
            isPc = "false"
        }
        params.isPc = isPc;
        if (f == "Windows") {
            if (ua.indexOf("Windows NT 5.0") > -1 || ua.indexOf("Windows 2000") > -1) {
                f = "Windows 2000"
            } else if (ua.indexOf("Windows NT 5.1") > -1 || ua.indexOf("Windows XP") > -1) {
                f = "Windows XP"
            } else if (ua.indexOf("Windows NT 5.2") > -1 || ua.indexOf("Windows 2003") > -1) {
                f = "Windows 2003"
            } else if (ua.indexOf("Windows NT 6.0") > -1 || ua.indexOf("Windows Vista") > -1) {
                f = "Windows Vista"
            } else if (ua.indexOf("Windows NT 6.1") > -1 || ua.indexOf("Windows 7") > -1) {
                f = "Windows 7"
            } else if (ua.indexOf("Windows NT 6.2") > -1 || ua.indexOf("Windows 8") > -1) {
                f = "Windows 8"
            } else if (ua.indexOf("Windows NT 10") > -1 || ua.indexOf("Windows 10") > -1) {
                f = "Windows 10"
            }
        }
        params.os = f;
    }
    var args = '';
    for (var i in params) {
        if (args != '') {
            args += '&';
        }
        args += i + '=' + encodeURIComponent(params[i]);
    }
    document.write(unescape("%3Cspan id='website_statistics_" + global_siteId + "'%3E%3C/span%3E%3Cscript src='/site/chart/webMst?" + args + "' type='text/javascript'%3E%3C/script%3E"));
})();